package com.w7vm.menuweb.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Set;


/**
 * The persistent class for the RestauranteCulinariaSys database table.
 * 
 */
@Entity
@Table(name="RestauranteCulinariaSys")

@NamedQueries({
	@NamedQuery(name="RestauranteCulinariaSys.findCulinariaRestauranteByAll", 
					query="SELECT rc FROM RestauranteCulinariaSy rc")
})

public class RestauranteCulinariaSy implements Serializable {
	private static final long serialVersionUID = 1L;
	
	public static final String FIND_CULINARIA_BY_ALL = "RestauranteCulinariaSys.findCulinariaRestauranteByAll";


	@Id
	private int idRestauranteCulinariaSys;

	@Column(name="Culinaria")
	private String culinaria;

	//bi-directional many-to-one association to RestauranteFilialWeb
	@OneToMany(mappedBy="restauranteCulinariaSy")
	private Set<RestauranteFilialWeb> restauranteFilialWebs;

	//bi-directional many-to-one association to RestauranteSedeWeb
	@OneToMany(mappedBy="restauranteCulinariaSy")
	private Set<RestauranteSedeWeb> restauranteSedeWebs;

    public RestauranteCulinariaSy() {
    }

	public int getIdRestauranteCulinariaSys() {
		return this.idRestauranteCulinariaSys;
	}

	public void setIdRestauranteCulinariaSys(int idRestauranteCulinariaSys) {
		this.idRestauranteCulinariaSys = idRestauranteCulinariaSys;
	}

	public String getCulinaria() {
		return this.culinaria;
	}

	public void setCulinaria(String culinaria) {
		this.culinaria = culinaria;
	}

	public Set<RestauranteFilialWeb> getRestauranteFilialWebs() {
		return this.restauranteFilialWebs;
	}

	public void setRestauranteFilialWebs(Set<RestauranteFilialWeb> restauranteFilialWebs) {
		this.restauranteFilialWebs = restauranteFilialWebs;
	}
	
	public Set<RestauranteSedeWeb> getRestauranteSedeWebs() {
		return this.restauranteSedeWebs;
	}

	public void setRestauranteSedeWebs(Set<RestauranteSedeWeb> restauranteSedeWebs) {
		this.restauranteSedeWebs = restauranteSedeWebs;
	}
	
}